package com.atguigu.client;

import com.atguigu.entity.AlbumAttributeValue;
import com.atguigu.entity.AlbumInfo;
import com.atguigu.entity.TrackInfo;
import com.atguigu.result.RetVal;
import com.atguigu.vo.AccountLockVo;
import com.atguigu.vo.AlbumStatVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "tingshu-account")//,fallback = AlbumInfoFallBack.class)
public interface AccountFeignClient {


    @PostMapping("/api/account/userAccount/checkAndLock")
    public RetVal checkAndLock(@RequestBody AccountLockVo accountLockVo);
}
